/**
 * @Copyright:Copyright (c) 1992 - 2016
 * @Company: TengTong
 */

package com.tengtong.duang.web.servlet.impl;

import javax.servlet.http.HttpServletRequest;

import com.tengtong.duang.web.commons.WebRequest;

/**
 * WebRequest 的 Servlet 实现
 * 
 * @author Jai
 *
 */
public class ServletWebRequestImpl implements WebRequest{
	
	private final HttpServletRequest request;
	
	ServletWebRequestImpl(HttpServletRequest request){
		this.request = request;
	}

	/**
	 * @param req
	 * @return
	 */
	public static WebRequest createInstance(HttpServletRequest req) {
		ServletWebRequestImpl result = new ServletWebRequestImpl(req);
		return result;
	}

}
